﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.ComponentModel.DataAnnotations;

namespace RN.ERP.Entity.Authority
{
    /// <summary>
    /// 
    /// </summary>
    public class T_Sys_Function
    {
        public Int32 ID { get; set; }
        /// <summary>
        ///功能Guid
        /// </summary>
        public Guid FunctionGuid { get; set; }
        /// <summary>
        /// 编号
        /// </summary>
        public String Code { get; set; }
        /// <summary>
        /// 名称
        /// </summary>
        public String Title { get; set; }
        /// <summary>
        /// 描述
        /// </summary>
        public String DESCRIPTION { get; set; }
        /// <summary>
        /// 父级节点Guid
        /// </summary>
        public Guid? ParenGuid { get; set; }
        /// <summary>
        /// 顶级节点Guid
        /// </summary>
        public Guid? RootGuid { get; set; }
        /// <summary>
        /// 地址
        /// </summary>
        public String Url { get; set; }
        /// <summary>
        /// 是否Menu
        /// </summary>
        public Boolean? IsMenu { get; set; }
        /// <summary>
        /// 项目ID
        /// </summary>
        public String AppID { get; set; }
        /// <summary>
        /// 写入人
        /// </summary>
        public Guid? IsrtUseID { get; set; }
        /// <summary>
        /// 写入时间
        /// </summary>
        [DisplayFormat(ApplyFormatInEditMode = true, DataFormatString = "{0:yyyy-MM-dd}")]
        public DateTime? IsrtDate { get; set; }
        /// <summary>
        /// 逻辑删除
        /// </summary>
        public Boolean? IsDel { get; set; }

        /// <summary>
        /// 排序号。
        /// </summary>
        public int? SortIndex { get; set; }
    }
}
